﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using skags.Models;

namespace skags.Models
{
    public class ProfileInfo
    {
        public int ID { get; set; }
        public System.Guid UserID { get; set; }
        public string UserName { get; set; }
        public string FullName { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
        public int ZipCode { get; set; }
        public string FacebookUrl { get; set; }
        public string Description { get; set; }
    }

    public class ProfileViewModel
    {
        public ProfileInfo Info { get; set; }
        public System.Data.Linq.Binary ProfilePic { get; set; }
        public DateTime LastLogin { get; set; }
        public IEnumerable<Child> Child { get; set; }
        public PrivacySetting PrivacySettings { get; set; }
    }

    public class ProfileSettingsViewModel
    {
        public ProfileInfo Info { get; set; }
        public PrivacySetting PrivacySettings { get; set; }
    }

    public class ChildTimelineViewModel
    {
        public IEnumerable<Timeline> Timelines { get; set; }
        public IEnumerable<Timeline> Measurements { get; set; }
        public IEnumerable<Child> Children { get; set; }
        public Child Child { get; set; }
    }
  
    public class addTimelineViewModel
    {
        public IEnumerable<Child> Children { get; set; }
        public int ID { get; set; }
        public int ChildID { get; set; }
        public int CHeight { get; set; }
        public int CWeight { get; set; }
        public string OtherInfo { get; set; }
        public DateTime LineDate { get; set; }
    }
    public class TimelineViewModel
    {
        public string ChildName { get; set; }
        public int ID { get; set; }
        public int? CHeight { get; set; }
        public int? CWeight { get; set; }
        public string OtherInfo { get; set;  }
        public DateTime LineDate { get; set; }

    }
    public class TimelineMeasurementsViewModel
    {
        public IEnumerable<TimelineViewModel> Timelines { get; set; }
        public IEnumerable<TimelineViewModel> Measurements { get; set; }
    }
}
